/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package be.wiim.mqtt;

import org.eclipse.paho.client.mqttv3.MqttClient;
import org.eclipse.paho.client.mqttv3.MqttConnectOptions;

/**
 *
 * @author wimvandecasteele
 */
public class Client {
    
    String fClientId;
    String fBrokerUrl;
    String fTopic = "test";
        
    public Client(String pClientId, String pBrokerIP)
    {
        fClientId = pClientId;
        fBrokerUrl = "tcp://" + pBrokerIP;
    }
    
    public Client(String pClientId, String pBrokerIP, String pTopic)
    {
        fClientId = pClientId;
        fBrokerUrl = "tcp://" + pBrokerIP;
        fTopic = pTopic;
    }

    public String getfClientId() {
        return fClientId;
    }

    public String getfBrokerUrl() {
        return fBrokerUrl;
    }

    public String getfTopic() {
        return fTopic;
    }
    
}
